package com.pty.demo.behaviour.state;

/**
 * @author pengty
 * @date 2020/3/13
 */
public abstract class OrderState {

    protected OrderStateContext orderStateContext;

    public OrderState(OrderStateContext orderStateContext) {
        this.orderStateContext = orderStateContext;
    }

    abstract void pay();

    abstract void checkPay();

    abstract void deliver();

    abstract void receive();
}
